/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_Studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#include "pch.h"
#include "编译错误信息.h"

#include <codecvt>
#include <locale>
#include <iostream>

void f_comInfo_输出错误(const std::u16string& str) {
	std::wbuffer_convert<std::codecvt_utf8_utf16<char16_t>> converter(std::cout.rdbuf());
	std::wostream out(&converter);
	for (char16_t c : str) {
		out << c;
	}
	out << "\n";
}


